package cn.wolfcode.shopservergoods.shop.server.service.impl;



import cn.wolfcode.goods.domain.Product;
import cn.wolfcode.goods.service.IProductService;
import cn.wolfcode.shopservergoods.shop.server.mapper.ProductMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ProductServiceImpl implements IProductService {

    @Autowired
    private ProductMapper mapper;


    @Override
    public List<Product> test() {
        return mapper.selectAll();
    }
}
